package cn.labbook.bluetooth.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * Created by Administrator on 2018/10/30.
 * Description : 系统认证Token
 */
public class SysToken extends UsernamePasswordToken {

    private Integer platform;

    public SysToken(Integer platform) {
        super();
        this.platform = platform;
    }

    public SysToken(String username, String password, String host) {
        super(username, password, host);
    }

    public SysToken(String username, String password, boolean rememberMe, String host, Integer platform) {
        super(username, password, rememberMe, host);
        this.platform = platform;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }
}
